package httpx

import (
	"github.com/go-resty/resty/v2"
)

// NewClient 创建一个http客户端
func NewClient(opts ...Option) *resty.Client {
	cli := resty.New()
	for _, opt := range opts {
		opt(cli)
	}
	return cli
}
